class Shoper < ApplicationRecord
  has_secure_password

  mount_uploader :avatar, BaseUploader
  
  belongs_to :shop, optional: true

  has_many :settles
  has_many :chat_messages, class_name: 'ChatMessage', as: :commentable
end
